package cn.myzqu.sign.user.server.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chenyihui
 * @Description: TODO
 * @date 2019/1/25  1:28
 */
@Data
public class StatisticsDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer addAmount;//用户增量

    private Integer amount;//用户总量
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date datetime;//日期

    public StatisticsDTO()
    {

    }



    public Integer getAmount() {
        return amount;
    }

    public StatisticsDTO(Integer addAmount, Integer amount, Date datetime) {
        this.addAmount = addAmount;
        this.amount = amount;
        this.datetime = datetime;
    }

    public Integer getAddAmount() {
        return addAmount;
    }

    public void setAddAmount(Integer addAmount) {
        this.addAmount = addAmount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }
}
